package com.warm.base.design.b_command;

/**
 * @Date: 2019/11/22 13:27
 * @Author: LChuang
 * @Description:
 */
public class Invoker {

    private Command command;

    public Invoker(Command command){
        this.command = command;
    }

    public void executeCommand(){
        command.execute();
    }
}
